P.Mod.user_info = function (dom,options) {
	this.dom = dom;
	this.user = $("div[dom='user']",dom)
	var _this = this;
    var aDoms = $.UT.DomSelector($("a",dom));
	
	
	$(aDoms.getUserInfo).click(function(){
		var uid = this.getAttribute("uid");
		_this._getUserInfo(uid, this);
		return false;
	});
	
	$(aDoms.abortGetUserInfo).click(function(){
		_this._abortGetUserInfo();
		return false;
	});
	
};
P.Mod.user_info.prototype._getUserInfo = function(uid, button){
	var _this = this;
	this.request = $.UT.GetActionData({
		  module:this.dom[0].id, 
		  action:"get_user_info", 
		  button:button,
		  post:{uid:uid},
          globalLoading:true,
          globalLoadingMask:true,
		  successCallback:function(data){_this.user.html(data);} 
	  });
};
P.Mod.user_info.prototype._abortGetUserInfo = function(){
	if(this.request){
		this.request.abort();
	}
};
$("#user_info").Module();